package com.carlinfo.stu_ques.question.pojo;

import java.io.Serializable;
import java.util.Date;

import com.carlinfo.stu_ques.common.util.DateUtil;

public class Answer implements Serializable
{
	private int id;
	private int sdId;
	private String answer;
	private String folg;
	private Date createTime;
	private Date endTime;
	public void setId(int id)
	{
		this.id = id;
	}
	public int getId()
	{
		return this.id;
	}
	public int getSdId()
	{
		return sdId;
	}
	public void setSdId(int sdId)
	{
		this.sdId = sdId;
	}
	public String getAnswer()
	{
		return answer;
	}
	public void setAnswer(String answer)
	{
		this.answer = answer;
	}
	public String getFolg()
	{
		return folg;
	}
	public void setFolg(String folg)
	{
		this.folg = folg;
	}
	public Date getCreateTime()
	{
		return createTime;
	}
	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}
	public Date getEndTime()
	{
		return endTime;
	}
	public void setEndTime(Date endTime)
	{
		this.endTime = endTime;
	}
	DateUtil dateUtil = new DateUtil();
	public String toString()
	{
		String result = getId()+"\t"+getSdId()+"\t"+getAnswer()+"\t"+getFolg()+"\t\t\t"+dateUtil.dateTimeToStr(getCreateTime())
				+"\t"+dateUtil.dateTimeToStr(getEndTime());
		return result;
	}
	
	
}
